﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallSoft.Language.Presenter.Interface;
using SmallSoft.Language.View.Interface;
using SmallSoft.Language.Database;
using SmallSoft.Language.Model.Interface;

namespace SmallSoft.Language.Presenter
{
    public class FormNotifyPresenter:IFormNotifyPresenter
    {
        private IFormNotifyView notifyView;        
        public FormNotifyPresenter()
        {
            
        }       

        #region IFormNotifyPresenter Members

        public IFormNotifyView NotifyView
        {
            get
            {
                return notifyView;
            }
            set
            {
                notifyView = value;
            }
        }  
               
        #endregion


        public void SetModel(IWordModel model)
        {
            notifyView.InitFormData(model);
        }
    }
}
